/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wisnu.example.service;

import com.wisnu.example.entity.Ptik;
import com.wisnu.example.error.PtikException;
import java.util.List;

/**
 *
 * @author Wisnu Wardoyo
 */
public interface PtikDao {

    public void insertPtik(Ptik ptik) throws PtikException;

    public void updatePtik(Ptik ptik) throws PtikException;

    public void deletePtik(Integer id) throws PtikException;

    public Ptik getPtikByNim(String nim) throws PtikException;

    public Ptik getPtikByEmail(String email) throws PtikException;

    public List<Ptik> selectAll() throws PtikException;

}
